#include "enesim_bench_common.h"
#include "Emage.h"

static void _display(void *data, Enesim_Surface *s, const char *name)
{
	printf("saving %s\n", name);
	enesim_image_file_save(name, s, NULL);
}

static void _sync(void *data, Enesim_Surface *s)
{

}

static void * _init(void)
{
	enesim_image_init();
}

static void _shutdown(void *data)
{
	enesim_image_shutdown();
}

Benchmark_Output output_emage = {
	.display = _display,
	.init = _init,
	.shutdown = _shutdown,
};
